﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Talentnet.Data.Access;
using Talentnet.Data.Entity;

namespace Talentnet.Data.Factory
{
    public partial class LoginUserFactory : ILoginUser
    {
        public static ILoginUser CreateInstance(string key)
        {
            return new LoginUserFactory(key);
        }
        public static ILoginUser CreateInstance()
        {
            return new LoginUserFactory();
        }

        LoginUserDAL _dbObj;
        private LoginUserFactory()
        {
            _dbObj = new LoginUserDAL();
        }
        private LoginUserFactory(string key)
        {
            _dbObj = new LoginUserDAL(key);
        }
        
        

    }
}
